package com.yuantu.judiciary.model.form;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yuantu.judiciary.model.enums.SearchType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 添加查询记录表单
 *
 * @author syw
 * @since 2024-01-29
 **/
@Data
@ApiModel("添加查询记录表单")
public class AddQueryRecordForm {
    @NotBlank(message = "签名不能为空")
    @ApiModelProperty("签名")
    private String sign;
    @NotBlank(message = "名称不能为空")
    @ApiModelProperty("名称")
    private String username;
    @ApiModelProperty("身份证号")
    private String idNumber;
    @JsonIgnore
    @ApiModelProperty("查询类型")
    private SearchType type;
}
